runtime.gcWork.heapScanWork (field)
25 uses
runtime (current package)
mgcmark.go#L1252: initScanWork := gcw.heapScanWork
mgcmark.go#L1350: if gcw.heapScanWork >= gcCreditSlack {
mgcmark.go#L1351: gcController.heapScanWork.Add(gcw.heapScanWork)
mgcmark.go#L1353: gcFlushBgCredit(gcw.heapScanWork - initScanWork)
mgcmark.go#L1356: checkWork -= gcw.heapScanWork
mgcmark.go#L1357: gcw.heapScanWork = 0
mgcmark.go#L1370: if gcw.heapScanWork > 0 {
mgcmark.go#L1371: gcController.heapScanWork.Add(gcw.heapScanWork)
mgcmark.go#L1373: gcFlushBgCredit(gcw.heapScanWork - initScanWork)
mgcmark.go#L1375: gcw.heapScanWork = 0
mgcmark.go#L1399: workFlushed := -gcw.heapScanWork
mgcmark.go#L1404: for !gp.preempt && !gcCPULimiter.limiting() && workFlushed+gcw.heapScanWork < scanWork {
mgcmark.go#L1448: if gcw.heapScanWork >= gcCreditSlack {
mgcmark.go#L1449: gcController.heapScanWork.Add(gcw.heapScanWork)
mgcmark.go#L1450: workFlushed += gcw.heapScanWork
mgcmark.go#L1451: gcw.heapScanWork = 0
mgcmark.go#L1467: return workFlushed + gcw.heapScanWork
mgcmark_greenteagc.go#L913: gcw.heapScanWork += int64(objsMarked) * int64(elemsize)
mgcmark_greenteagc.go#L984: gcw.heapScanWork += int64(sys.Len64(uint64(ptrBits)) * goarch.PtrSize)
mgcmark_greenteagc.go#L1030: gcw.heapScanWork += int64(sys.Len64(uint64(ptrBits)) * goarch.PtrSize)
mgcmark_greenteagc.go#L1276: gcw.heapScanWork += int64(scanSize)
mgcwork.go#L121: heapScanWork int64
mgcwork.go#L346: if w.heapScanWork != 0 {
mgcwork.go#L347: gcController.heapScanWork.Add(w.heapScanWork)
mgcwork.go#L348: w.heapScanWork = 0
![]() |
The pages are generated with Golds v0.8.4. (GOOS=linux GOARCH=amd64) Golds is a Go 101 project developed by Tapir Liu. PR and bug reports are welcome and can be submitted to the issue list. Please follow @zigo_101 (reachable from the left QR code) to get the latest news of Golds. |